<?php
class Hinhdienthoai extends Model
{
    public function getDienthoaiImages($id){
        $data = $this->Db->select('hinhdienthoai', 'dt_id = :id', array('id' => $id));
        if(count($data) > 0)
        {
            array_shift($data);
            return $data;
        }
        else
            return false;
    }
}